package top.gangster.lunan.userservice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 权限表，权限数字越大权限越高
 * </p>
 *
 * @author vic
 * @since 2021-11-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Auth implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "auth_id", type = IdType.ID_WORKER_STR)
    private String authId;

    /**
     * 管理员权限99
            其余按1 2 3 4 ..数字越高权限越大
     */
    private String authLevel;


}
